<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学习路径 - 试题库管理系统</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    
    <!-- Tailwind 配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36CBCB',
                        accent: '#FF7D00',
                        success: '#00B42A',
                        warning: '#FF7D00',
                        danger: '#F53F3F',
                    },
                    fontFamily: {
                        inter: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .fade-in {
                animation: fadeIn 0.5s ease-in-out;
            }
            @keyframes fadeIn {
                from { opacity: 0; transform: translateY(10px); }
                to { opacity: 1; transform: translateY(0); }
            }
            .path-node {
                transition: all 0.3s ease;
            }
            .path-node:hover {
                transform: scale(1.03);
            }
            .progress-bar {
                transition: width 1s ease-in-out;
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-inter text-gray-800 min-h-screen flex flex-col">
    <!-- 顶部导航栏 -->
    <header class="bg-white shadow-sm sticky top-0 z-50 transition-all duration-300">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between">
            <div class="flex items-center space-x-2">
                <button id="sidebar-toggle" class="lg:hidden text-gray-500 hover:text-primary transition-colors">
                    <i class="fa fa-bars text-xl"></i>
                </button>
                <h1 class="text-xl font-bold text-primary flex items-center">
                    <i class="fa fa-book mr-2"></i>
                    <span>试题库管理系统</span>
                </h1>
            </div>
            
            <div class="hidden md:flex items-center space-x-6">
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">首页</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">题库</a>
                <a href="#" class="text-primary font-medium border-b-2 border-primary pb-1">学习路径</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">统计分析</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">系统设置</a>
            </div>
            
            <div class="flex items-center space-x-4">
                <div class="relative">
                    <input type="text" placeholder="搜索学习路径、课程..." 
                           class="pl-10 pr-4 py-2 rounded-full bg-gray-100 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all w-40 lg:w-64">
                    <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                </div>
                
                <div class="relative">
                    <button class="text-gray-500 hover:text-primary transition-colors">
                        <i class="fa fa-bell text-xl"></i>
                        <span class="absolute -top-1 -right-1 bg-danger text-white text-xs rounded-full h-4 w-4 flex items-center justify-center">3</span>
                    </button>
                </div>
                
                <div class="flex items-center space-x-2 cursor-pointer group">
                    <img src="https://picsum.photos/id/64/40/40" alt="用户头像" class="w-8 h-8 rounded-full object-cover border-2 border-transparent group-hover:border-primary transition-all">
                    <span class="hidden md:inline font-medium">张老师</span>
                    <i class="fa fa-angle-down text-gray-400 group-hover:text-primary transition-colors"></i>
                </div>
            </div>
        </div>
    </header>

    <div class="flex flex-1 overflow-hidden">
        <!-- 左侧边栏 - 学习路径导航 -->
        <aside id="sidebar" class="w-64 bg-white shadow-md transform -translate-x-full lg:translate-x-0 fixed lg:static h-full z-40 transition-transform duration-300 ease-in-out overflow-y-auto scrollbar-hide">
            <div class="p-4 border-b">
                <div class="flex items-center justify-between mb-3">
                    <h2 class="font-bold text-lg">学习路径导航</h2>
                    <div class="relative">
                        <select class="appearance-none bg-gray-100 rounded-lg px-3 py-1 pr-8 focus:outline-none focus:ring-1 focus:ring-primary">
                            <option>全部学科</option>
                            <option selected>数学</option>
                            <option>物理</option>
                            <option>化学</option>
                            <option>生物</option>
                        </select>
                        <i class="fa fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 pointer-events-none"></i>
                    </div>
                </div>
                
                <div class="relative">
                    <input type="text" placeholder="搜索学习路径..." 
                           class="w-full pl-8 pr-4 py-2 rounded-lg bg-gray-100 focus:outline-none focus:ring-1 focus:ring-primary">
                    <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                </div>
            </div>
            
            <!-- 学习路径列表 -->
            <div class="p-4">
                <h3 class="font-medium text-sm text-gray-500 mb-3">推荐学习路径</h3>
                
                <div class="space-y-2">
                    <div class="bg-primary/5 border-l-2 border-primary p-3 rounded-r-lg cursor-pointer hover:bg-primary/10 transition-colors">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <i class="fa fa-graduation-cap text-primary mr-2"></i>
                                <span class="font-medium">高中数学基础夯实</span>
                            </div>
                            <span class="text-xs bg-primary/20 text-primary px-2 py-0.5 rounded-full">进行中</span>
                        </div>
                        <div class="mt-2 flex items-center">
                            <div class="w-full bg-gray-200 rounded-full h-1.5 mr-2">
                                <div class="bg-primary h-1.5 rounded-full progress-bar" style="width: 45%"></div>
                            </div>
                            <span class="text-xs text-gray-500">45%</span>
                        </div>
                    </div>
                    
                    <div class="hover:bg-gray-50 p-3 rounded-lg cursor-pointer transition-colors">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <i class="fa fa-line-chart text-gray-400 mr-2"></i>
                                <span>数学竞赛进阶</span>
                            </div>
                            <span class="text-xs bg-gray-100 text-gray-500 px-2 py-0.5 rounded-full">未开始</span>
                        </div>
                    </div>
                    
                    <div class="hover:bg-gray-50 p-3 rounded-lg cursor-pointer transition-colors">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <i class="fa fa-lightbulb-o text-gray-400 mr-2"></i>
                                <span>数学思想方法</span>
                            </div>
                            <span class="text-xs bg-gray-100 text-gray-500 px-2 py-0.5 rounded-full">未开始</span>
                        </div>
                    </div>
                    
                    <div class="hover:bg-gray-50 p-3 rounded-lg cursor-pointer transition-colors">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <i class="fa fa-calculator text-gray-400 mr-2"></i>
                                <span>概率统计应用</span>
                            </div>
                            <span class="text-xs bg-gray-100 text-gray-500 px-2 py-0.5 rounded-full">未开始</span>
                        </div>
                    </div>
                </div>
                
                <div class="mt-6">
                    <button class="w-full flex items-center justify-center p-3 border border-dashed border-gray-300 rounded-lg text-gray-500 hover:bg-gray-50 transition-colors">
                        <i class="fa fa-plus mr-2"></i>
                        <span>创建新学习路径</span>
                    </button>
                </div>
            </div>
        </aside>
        
        <!-- 主内容区 -->
        <main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-6">
            <div class="container mx-auto">
                <!-- 面包屑导航 -->
                <div class="flex items-center text-sm text-gray-500 mb-4">
                    <a href="#" class="hover:text-primary">首页</a>
                    <i class="fa fa-angle-right mx-2 text-gray-300"></i>
                    <a href="#" class="hover:text-primary">学习路径</a>
                    <i class="fa fa-angle-right mx-2 text-gray-300"></i>
                    <span class="text-primary font-medium">高中数学基础夯实</span>
                </div>
                
                <!-- 内容标题区 -->
                <div class="flex flex-col md:flex-row md:items-center justify-between mb-6">
                    <div>
                        <h2 class="text-[clamp(1.5rem,3vw,2rem)] font-bold text-gray-800">高中数学基础夯实</h2>
                        <p class="text-gray-500 mt-1">共包含12个学习阶段，预计学习时间6个月</p>
                    </div>
                    
                    <div class="flex space-x-3 mt-4 md:mt-0">
                        <button class="bg-white border border-gray-300 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-50 transition-colors flex items-center">
                            <i class="fa fa-share-alt mr-2"></i> 分享路径
                        </button>
                        <button class="bg-white border border-gray-300 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-50 transition-colors flex items-center">
                            <i class="fa fa-download mr-2"></i> 导出计划
                        </button>
                        <button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-primary/90 transition-colors flex items-center">
                            <i class="fa fa-play-circle mr-2"></i> 继续学习
                        </button>
                    </div>
                </div>
                
                <!-- 学习路径概览 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <div class="flex flex-col md:flex-row md:items-start space-y-4 md:space-y-0 md:space-x-6">
                        <div class="md:w-1/3">
                            <div class="relative">
                                <img src="https://picsum.photos/id/24/800/400" alt="高中数学基础夯实学习路径" class="w-full h-48 object-cover rounded-lg">
                                <div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent rounded-lg flex items-end p-4">
                                    <div>
                                        <span class="inline-block px-2 py-1 text-xs font-medium bg-primary/90 text-white rounded mb-1">推荐路径</span>
                                        <h3 class="text-white font-medium">高中数学基础夯实</h3>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="mt-4 space-y-3">
                                <div class="flex items-center justify-between">
                                    <span class="text-gray-600">进度</span>
                                    <span class="text-primary font-medium">45%</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2">
                                    <div class="bg-primary h-2 rounded-full progress-bar" style="width: 45%"></div>
                                </div>
                                
                                <div class="flex items-center justify-between">
                                    <span class="text-gray-600">已完成阶段</span>
                                    <span class="text-gray-800 font-medium">5/12</span>
                                </div>
                                
                                <div class="flex items-center justify-between">
                                    <span class="text-gray-600">已掌握知识点</span>
                                    <span class="text-gray-800 font-medium">87/193</span>
                                </div>
                                
                                <div class="flex items-center justify-between">
                                    <span class="text-gray-600">预计剩余时间</span>
                                    <span class="text-gray-800 font-medium">3个月15天</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="md:w-2/3">
                            <h3 class="text-lg font-bold mb-3">路径介绍</h3>
                            <p class="text-gray-600 mb-4">
                                "高中数学基础夯实"学习路径专为高中学生设计，系统梳理高中数学核心知识点，帮助学生建立扎实的数学基础。路径从集合与函数开始，逐步深入到数列、立体几何、概率统计等内容，适合各个学习阶段的学生查漏补缺、系统提升。
                            </p>
                            
                            <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
                                <div class="flex items-center">
                                    <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center text-primary mr-3">
                                        <i class="fa fa-book"></i>
                                    </div>
                                    <div>
                                        <h4 class="font-medium">12个学习阶段</h4>
                                        <p class="text-sm text-gray-500">循序渐进掌握高中数学核心内容</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-center">
                                    <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-3">
                                        <i class="fa fa-tasks"></i>
                                    </div>
                                    <div>
                                        <h4 class="font-medium">193个知识点</h4>
                                        <p class="text-sm text-gray-500">全面覆盖高中数学核心考点</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-center">
                                    <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-600 mr-3">
                                        <i class="fa fa-question-circle"></i>
                                    </div>
                                    <div>
                                        <h4 class="font-medium">1200+道试题</h4>
                                        <p class="text-sm text-gray-500">丰富练习题巩固所学知识</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-center">
                                    <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 mr-3">
                                        <i class="fa fa-certificate"></i>
                                    </div>
                                    <div>
                                        <h4 class="font-medium">阶段测试</h4>
                                        <p class="text-sm text-gray-500">每阶段结束后进行综合测试</p>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="flex flex-wrap gap-2">
                                <span class="inline-block px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-full">高中数学</span>
                                <span class="inline-block px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-full">基础课程</span>
                                <span class="inline-block px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-full">系统性学习</span>
                                <span class="inline-block px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-full">适合初学者</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 学习路径图 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <h3 class="text-lg font-bold mb-4">学习路径图</h3>
                    
                    <div class="relative overflow-x-auto pb-4">
                        <div class="flex flex-col md:flex-row md:items-start space-y-8 md:space-y-0 md:space-x-8">
                            <!-- 阶段1 -->
                            <div class="path-node flex-1">
                                <div class="bg-green-50 border border-green-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-green-600 font-medium">阶段 1</span>
                                        <span class="text-xs bg-green-100 text-green-600 px-2 py-0.5 rounded-full">已完成</span>
                                    </div>
                                    <h4 class="font-bold mb-2">集合与函数</h4>
                                    <p class="text-sm text-gray-600 mb-3 flex-1">学习集合的基本概念、函数的定义与性质，掌握函数的图像与变换。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">15个知识点</span>
                                        <span class="text-green-600 flex items-center">
                                            <i class="fa fa-check-circle mr-1"></i> 已完成
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 阶段2 -->
                            <div class="path-node flex-1">
                                <div class="bg-green-50 border border-green-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-green-600 font-medium">阶段 2</span>
                                        <span class="text-xs bg-green-100 text-green-600 px-2 py-0.5 rounded-full">已完成</span>
                                    </div>
                                    <h4 class="font-bold mb-2">基本初等函数</h4>
                                    <p class="text-sm text-gray-600 mb-3 flex-1">学习指数函数、对数函数和幂函数的定义、性质与应用。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">18个知识点</span>
                                        <span class="text-green-600 flex items-center">
                                            <i class="fa fa-check-circle mr-1"></i> 已完成
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 阶段3 -->
                            <div class="path-node flex-1">
                                <div class="bg-green-50 border border-green-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-green-600 font-medium">阶段 3</span>
                                        <span class="text-xs bg-green-100 text-green-600 px-2 py-0.5 rounded-full">已完成</span>
                                    </div>
                                    <h4 class="font-bold mb-2">立体几何初步</h4>
                                    <p class="text-sm text-gray-600 mb-3 flex-1">学习空间几何体的结构、表面积与体积，点、线、面的位置关系。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">16个知识点</span>
                                        <span class="text-green-600 flex items-center">
                                            <i class="fa fa-check-circle mr-1"></i> 已完成
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 阶段4 -->
                            <div class="path-node flex-1">
                                <div class="bg-green-50 border border-green-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-green-600 font-medium">阶段 4</span>
                                        <span class="text-xs bg-green-100 text-green-600 px-2 py-0.5 rounded-full">已完成</span>
                                    </div>
                                    <h4 class="font-bold mb-2">平面解析几何</h4>
                                    <p class="text-sm text-gray-600 mb-3 flex-1">学习直线与方程、圆与方程，掌握解析几何的基本思想和方法。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">17个知识点</span>
                                        <span class="text-green-600 flex items-center">
                                            <i class="fa fa-check-circle mr-1"></i> 已完成
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 阶段5 -->
                            <div class="path-node flex-1">
                                <div class="bg-blue-50 border border-blue-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-blue-600 font-medium">阶段 5</span>
                                        <span class="text-xs bg-blue-100 text-blue-600 px-2 py-0.5 rounded-full">进行中</span>
                                    </div>
                                    <h4 class="font-bold mb-2">算法初步与统计</h4>
                                    <p class="text-sm text-gray-600 mb-3 flex-1">学习算法的基本结构、程序框图，以及抽样方法和统计图表。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">15个知识点</span>
                                        <span class="text-blue-600 flex items-center">
                                            <i class="fa fa-spinner fa-spin mr-1"></i> 进行中
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 阶段6 -->
                            <div class="path-node flex-1">
                                <div class="bg-gray-50 border border-gray-200 rounded-xl p-4 h-full flex flex-col">
                                    <div class="flex items-center justify-between mb-3">
                                        <span class="text-gray-600 font-medium">阶段 6</span>
                                        <span class="text-xs bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full">未开始</span>
                                    </div>
                                    <h4 class="font-bold mb-2">概率</h4>
                                    <p class="text-sm text-gray-500 mb-3 flex-1">学习随机事件的概率、古典概型和几何概型，掌握概率的基本计算方法。</p>
                                    <div class="flex items-center justify-between text-sm">
                                        <span class="text-gray-500">14个知识点</span>
                                        <span class="text-gray-500 flex items-center">
                                            <i class="fa fa-lock mr-1"></i> 未解锁
                                        </span>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 更多阶段可以继续添加 -->
                        </div>
                        
                        <!-- 连接线（仅在桌面视图显示） -->
                        <div class="hidden md:block absolute top-1/2 left-0 right-0 transform -translate-y-1/2 pointer-events-none">
                            <div class="h-1 bg-gray-200 w-full relative">
                                <div class="absolute left-0 right-[41.666%] h-full bg-green-400"></div>
                                <div class="absolute left-[41.666%] right-[50%] h-full bg-blue-400"></div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 当前阶段详情 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <div class="flex items-center justify-between mb-4">
                        <h3 class="text-lg font-bold">当前阶段：算法初步与统计</h3>
                        <div class="flex items-center">
                            <span class="text-sm text-gray-500 mr-2">进度：</span>
                            <div class="w-32 bg-gray-200 rounded-full h-2 mr-2">
                                <div class="bg-blue-400 h-2 rounded-full progress-bar" style="width: 65%"></div>
                            </div>
                            <span class="text-sm text-blue-600 font-medium">65%</span>
                        </div>
                    </div>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <!-- 左侧：学习内容 -->
                        <div>
                            <h4 class="font-medium mb-3">学习内容</h4>
                            
                            <div class="space-y-3">
                                <!-- 已完成的课程 -->
                                <div class="p-3 border border-green-200 bg-green-50 rounded-lg flex items-center">
                                    <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-3">
                                        <i class="fa fa-check"></i>
                                    </div>
                                    <div class="flex-1">
                                        <h5 class="font-medium">算法与程序框图</h5>
                                        <p class="text-sm text-gray-600">学习算法的概念、程序框图的基本结构和算法的三种基本逻辑结构。</p>
                                    </div>
                                    <div class="text-green-600">
                                        <i class="fa fa-check-circle"></i>
                                    </div>
                                </div>
                                
                                <!-- 已完成的课程 -->
                                <div class="p-3 border border-green-200 bg-green-50 rounded-lg flex items-center">
                                    <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-3">
                                        <i class="fa fa-check"></i>
                                    </div>
                                    <div class="flex-1">
                                        <h5 class="font-medium">基本算法语句</h5>
                                        <p class="text-sm text-gray-600">学习输入语句、输出语句、赋值语句、条件语句和循环语句的基本格式和用法。</p>
                                    </div>
                                    <div class="text-green-600">
                                        <i class="fa fa-check-circle"></i>
                                    </div>
                                </div>
                                
                                <!-- 进行中的课程 -->
                                <div class="p-3 border border-blue-200 bg-blue-50 rounded-lg flex items-center">
                                    <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 mr-3">
                                        <i class="fa fa-spinner fa-spin"></i>
                                    </div>
                                    <div class="flex-1">
                                        <h5 class="font-medium">抽样方法</h5>
                                        <p class="text-sm text-gray-600">学习简单随机抽样、系统抽样和分层抽样的方法和适用范围。</p>
                                    </div>
                                    <div class="text-blue-600">
                                        <i class="fa fa-play-circle"></i>
                                    </div>
                                </div>
                                
                                <!-- 未开始的课程 -->
                                <div class="p-3 border border-gray-200 bg-gray-50 rounded-lg flex items-center opacity-70">
                                    <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-400 mr-3">
                                        <i class="fa fa-lock"></i>
                                    </div>
                                    <div class="flex-1">
                                        <h5 class="font-medium">用样本估计总体</h5>
                                        <p class="text-sm text-gray-500">学习频率分布表、频率分布直方图、茎叶图，以及样本数据的数字特征。</p>
                                    </div>
                                    <div class="text-gray-400">
                                        <i class="fa fa-lock"></i>
                                    </div>
                                </div>
                                
                                <!-- 未开始的课程 -->
                                <div class="p-3 border border-gray-200 bg-gray-50 rounded-lg flex items-center opacity-70">
                                    <div class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-400 mr-3">
                                        <i class="fa fa-lock"></i>
                                    </div>
                                    <div class="flex-1">
                                        <h5 class="font-medium">变量间的相关关系</h5>
                                        <p class="text-sm text-gray-500">学习变量之间的相关关系、散点图和线性回归方程，了解最小二乘法的思想。</p>
                                    </div>
                                    <div class="text-gray-400">
                                        <i class="fa fa-lock"></i>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 右侧：学习资源 -->
                        <div>
                            <h4 class="font-medium mb-3">学习资源</h4>
                            
                            <div class="space-y-3">
                                <!-- 视频资源 -->
                                <div class="p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 rounded-lg bg-red-100 flex items-center justify-center text-red-600 mr-3">
                                            <i class="fa fa-play"></i>
                                        </div>
                                        <div class="flex-1">
                                            <h5 class="font-medium">算法的概念与程序框图</h5>
                                            <p class="text-sm text-gray-500">视频教程 · 25分钟</p>
                                        </div>
                                        <div class="text-gray-400">
                                            <i class="fa fa-angle-right"></i>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 文档资源 -->
                                <div class="p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 rounded-lg bg-blue-100 flex items-center justify-center text-blue-600 mr-3">
                                            <i class="fa fa-file-text-o"></i>
                                        </div>
                                        <div class="flex-1">
                                            <h5 class="font-medium">抽样方法详解</h5>
                                            <p class="text-sm text-gray-500">学习文档 · 15页</p>
                                        </div>
                                        <div class="text-gray-400">
                                            <i class="fa fa-angle-right"></i>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 练习题 -->
                                <div class="p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 rounded-lg bg-green-100 flex items-center justify-center text-green-600 mr-3">
                                            <i class="fa fa-pencil"></i>
                                        </div>
                                        <div class="flex-1">
                                            <h5 class="font-medium">算法初步练习题</h5>
                                            <p class="text-sm text-gray-500">20道选择题 · 30分钟</p>
                                        </div>
                                        <div class="text-gray-400">
                                            <i class="fa fa-angle-right"></i>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 参考资料 -->
                                <div class="p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 rounded-lg bg-purple-100 flex items-center justify-center text-purple-600 mr-3">
                                            <i class="fa fa-book"></i>
                                        </div>
                                        <div class="flex-1">
                                            <h5 class="font-medium">统计案例分析</h5>
                                            <p class="text-sm text-gray-500">参考资料 · 28页</p>
                                        </div>
                                        <div class="text-gray-400">
                                            <i class="fa fa-angle-right"></i>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 讨论区 -->
                                <div class="p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors cursor-pointer">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 rounded-lg bg-yellow-100 flex items-center justify-center text-yellow-600 mr-3">
                                            <i class="fa fa-comments"></i>
                                        </div>
                                        <div class="flex-1">
                                            <h5 class="font-medium">算法与统计讨论区</h5>
                                            <p class="text-sm text-gray-500">32个话题 · 156条回复</p>
                                        </div>
                                        <div class="text-gray-400">
                                            <i class="fa fa-angle-right"></i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 推荐学习资源 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <h3 class="text-lg font-bold mb-4">推荐学习资源</h3>
                    
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                        <!-- 资源卡片1 -->
                        <div class="border border-gray-200 rounded-xl overflow-hidden hover:shadow-md transition-shadow">
                            <div class="h-36 overflow-hidden">
                                <img src="https://picsum.photos/id/160/600/400" alt="算法可视化教程" class="w-full h-full object-cover hover:scale-105 transition-transform duration-300">
                            </div>
                            <div class="p-4">
                                <div class="flex items-center mb-2">
                                    <span class="inline-block px-2 py-1 text-xs font-medium bg-blue-100 text-blue-800 rounded mr-2">视频</span>
                                    <span class="text-xs text-gray-500">2小时15分钟</span>
                                </div>
                                <h4 class="font-medium mb-2">算法可视化教程</h4>
                                <p class="text-sm text-gray-600 mb-3">通过可视化方式直观理解各种算法的执行过程和效率分析。</p>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center">
                                        <img src="https://picsum.photos/id/64/30/30" alt="讲师头像" class="w-6 h-6 rounded-full mr-2">
                                        <span class="text-xs text-gray-500">李教授</span>
                                    </div>
                                    <div class="flex items-center text-yellow-400 text-xs">
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star-half-o"></i>
                                        <span class="ml-1 text-gray-500">4.5</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 资源卡片2 -->
                        <!--<div class="border border-gray-200 rounded-xl overflow-hidden hover:shadow-md transition-shadow>-->




                        <!-- 资源卡片2 -->
                        <div class="border border-gray-200 rounded-xl overflow-hidden hover:shadow-md transition-shadow">
                            <div class="h-36 overflow-hidden">
                                <img src="https://picsum.photos/id/1/600/400" alt="统计数据分析实战" class="w-full h-full object-cover hover:scale-105 transition-transform duration-300">
                            </div>
                            <div class="p-4">
                                <div class="flex items-center mb-2">
                                    <span class="inline-block px-2 py-1 text-xs font-medium bg-green-100 text-green-800 rounded mr-2">实战</span>
                                    <span class="text-xs text-gray-500">3小时45分钟</span>
                                </div>
                                <h4 class="font-medium mb-2">统计数据分析实战</h4>
                                <p class="text-sm text-gray-600 mb-3">通过实际案例学习如何收集、整理和分析数据，掌握统计分析的核心技能。</p>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center">
                                        <img src="https://picsum.photos/id/91/30/30" alt="讲师头像" class="w-6 h-6 rounded-full mr-2">
                                        <span class="text-xs text-gray-500">王老师</span>
                                    </div>
                                    <div class="flex items-center text-yellow-400 text-xs">
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <span class="ml-1 text-gray-500">5.0</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 资源卡片3 -->
                        <div class="border border-gray-200 rounded-xl overflow-hidden hover:shadow-md transition-shadow">
                            <div class="h-36 overflow-hidden">
                                <img src="https://picsum.photos/id/3/600/400" alt="数学建模入门" class="w-full h-full object-cover hover:scale-105 transition-transform duration-300">
                            </div>
                            <div class="p-4">
                                <div class="flex items-center mb-2">
                                    <span class="inline-block px-2 py-1 text-xs font-medium bg-purple-100 text-purple-800 rounded mr-2">课程</span>
                                    <span class="text-xs text-gray-500">4小时30分钟</span>
                                </div>
                                <h4 class="font-medium mb-2">数学建模入门</h4>
                                <p class="text-sm text-gray-600 mb-3">学习如何将实际问题转化为数学模型，并用数学方法解决实际问题。</p>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center">
                                        <img src="https://picsum.photos/id/177/30/30" alt="讲师头像" class="w-6 h-6 rounded-full mr-2">
                                        <span class="text-xs text-gray-500">张教授</span>
                                    </div>
                                    <div class="flex items-center text-yellow-400 text-xs">
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star"></i>
                                        <i class="fa fa-star-o"></i>
                                        <span class="ml-1 text-gray-500">4.0</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 学习数据统计 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <h3 class="text-lg font-bold mb-4">学习数据统计</h3>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <!-- 左侧：学习时间统计 -->
                        <div>
                            <h4 class="font-medium mb-3">学习时间统计</h4>
                            <div class="bg-gray-50 p-4 rounded-lg h-64">
                                <canvas id="studyTimeChart"></canvas>
                            </div>
                        </div>
                        
                        <!-- 右侧：知识点掌握情况 -->
                        <div>
                            <h4 class="font-medium mb-3">知识点掌握情况</h4>
                            <div class="bg-gray-50 p-4 rounded-lg h-64">
                                <canvas id="knowledgePointsChart"></canvas>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 学习社区讨论 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-6 fade-in">
                    <div class="flex items-center justify-between mb-4">
                        <h3 class="text-lg font-bold">学习社区讨论</h3>
                        <button class="text-primary hover:text-primary/80 transition-colors text-sm font-medium">
                            查看全部讨论 <i class="fa fa-angle-right ml-1"></i>
                        </button>
                    </div>
                    
                    <div class="space-y-4">
                        <!-- 讨论话题1 -->
                        <div class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors">
                            <div class="flex items-start">
                                <img src="https://picsum.photos/id/1025/40/40" alt="用户头像" class="w-10 h-10 rounded-full mr-3">
                                <div class="flex-1">
                                    <div class="flex items-center justify-between mb-1">
                                        <h4 class="font-medium">算法复杂度分析有什么好的方法吗？</h4>
                                        <span class="text-xs text-gray-500">2小时前</span>
                                    </div>
                                    <p class="text-sm text-gray-600 mb-2">大家在分析算法复杂度的时候有什么好的方法或者技巧吗？感觉有些复杂的算法分析起来很困难...</p>
                                    <div class="flex items-center text-sm text-gray-500">
                                        <span class="flex items-center mr-4">
                                            <i class="fa fa-comment-o mr-1"></i> 12条回复
                                        </span>
                                        <span class="flex items-center">
                                            <i class="fa fa-eye mr-1"></i> 86次查看
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 讨论话题2 -->
                        <div class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors">
                            <div class="flex items-start">
                                <img src="https://picsum.photos/id/1074/40/40" alt="用户头像" class="w-10 h-10 rounded-full mr-3">
                                <div class="flex-1">
                                    <div class="flex items-center justify-between mb-1">
                                        <h4 class="font-medium">请问分层抽样和整群抽样有什么区别？</h4>
                                        <span class="text-xs text-gray-500">昨天</span>
                                    </div>
                                    <p class="text-sm text-gray-600 mb-2">在学习抽样方法时，对分层抽样和整群抽样的概念有些混淆，希望有同学能够帮忙解释一下，谢谢！</p>
                                    <div class="flex items-center text-sm text-gray-500">
                                        <span class="flex items-center mr-4">
                                            <i class="fa fa-comment-o mr-1"></i> 8条回复
                                        </span>
                                        <span class="flex items-center">
                                            <i class="fa fa-eye mr-1"></i> 54次查看
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 讨论话题3 -->
                        <div class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors">
                            <div class="flex items-start">
                                <img src="https://picsum.photos/id/1062/40/40" alt="用户头像" class="w-10 h-10 rounded-full mr-3">
                                <div class="flex-1">
                                    <div class="flex items-center justify-between mb-1">
                                        <h4 class="font-medium">推荐一本关于算法设计的好书</h4>
                                        <span class="text-xs text-gray-500">3天前</span>
                                    </div>
                                    <p class="text-sm text-gray-600 mb-2">大家有没有关于算法设计的好书推荐？希望能够深入浅出，适合初学者的。</p>
                                    <div class="flex items-center text-sm text-gray-500">
                                        <span class="flex items-center mr-4">
                                            <i class="fa fa-comment-o mr-1"></i> 15条回复
                                        </span>
                                        <span class="flex items-center">
                                            <i class="fa fa-eye mr-1"></i> 92次查看
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 学习提醒 -->
                <div class="bg-gradient-to-r from-primary/90 to-primary rounded-xl p-6 mb-6 fade-in">
                    <div class="flex flex-col md:flex-row md:items-center justify-between">
                        <div class="mb-4 md:mb-0">
                            <h3 class="text-white font-bold text-xl mb-2">继续你的学习之旅</h3>
                            <p class="text-white/80">你已经完成了"算法与程序框图"和"基本算法语句"的学习，接下来可以继续学习"抽样方法"章节。</p>
                        </div>
                        <button class="bg-white text-primary px-6 py-3 rounded-lg font-medium hover:bg-gray-100 transition-colors flex items-center justify-center">
                            <i class="fa fa-play-circle mr-2"></i> 继续学习
                        </button>
                    </div>
                </div>
            </div>
        </main>
    </div>
    
    <!-- 页脚 -->
    <footer class="bg-white border-t border-gray-200 py-6">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row md:items-center justify-between">
                <div class="mb-4 md:mb-0">
                    <div class="flex items-center">
                        <i class="fa fa-book text-primary text-xl mr-2"></i>
                        <span class="font-bold text-gray-800">试题库管理系统</span>
                    </div>
                    <p class="text-gray-500 text-sm mt-2">© 2025 试题库管理系统. 保留所有权利.</p>
                </div>
                
                <div class="grid grid-cols-2 md:grid-cols-4 gap-6">
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">学习资源</h4>
                        <ul class="space-y-1">
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">学习路径</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">题库</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">视频教程</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">参考资料</a></li>
                        </ul>
                    </div>
                    
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">帮助中心</h4>
                        <ul class="space-y-1">
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">常见问题</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">使用教程</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">联系我们</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">意见反馈</a></li>
                        </ul>
                    </div>
                    
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">关于我们</h4>
                        <ul class="space-y-1">
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">平台介绍</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">讲师团队</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">合作伙伴</a></li>
                            <li><a href="#" class="text-gray-500 hover:text-primary text-sm">加入我们</a></li>
                        </ul>
                    </div>
                    
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">关注我们</h4>
                        <div class="flex space-x-3">
                            <a href="#" class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-500 hover:bg-primary hover:text-white transition-colors">
                                <i class="fa fa-weixin"></i>
                            </a>
                            <a href="#" class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-500 hover:bg-primary hover:text-white transition-colors">
                                <i class="fa fa-weibo"></i>
                            </a>
                            <a href="#" class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-500 hover:bg-primary hover:text-white transition-colors">
                                <i class="fa fa-qq"></i>
                            </a>
                        </div>
                        <p class="text-gray-500 text-sm mt-2">扫描二维码，关注公众号</p>
                        <div class="mt-2 bg-gray-100 p-2 inline-block rounded">
                            <img src="https://picsum.photos/id/237/80/80" alt="公众号二维码" class="w-20 h-20">
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="mt-6 pt-6 border-t border-gray-200 flex flex-col md:flex-row md:items-center justify-between">
                <p class="text-gray-500 text-sm mb-4 md:mb-0">使用条款 | 隐私政策 | 版权声明</p>
                <p class="text-gray-500 text-sm">备案号：ICP备12345678号-1</p>
            </div>
        </div>
    </footer>
    
    <!-- Chart.js -->
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    
    <!-- 页面交互脚本 -->
    <script>
        // 侧边栏切换
        document.getElementById('sidebar-toggle').addEventListener('click', function() {
            const sidebar = document.getElementById('sidebar');
            sidebar.classList.toggle('-translate-x-full');
        });
        
        // 学习时间统计图表
        const studyTimeCtx = document.getElementById('studyTimeChart').getContext('2d');
        new Chart(studyTimeCtx, {
            type: 'bar',
            data: {
                labels: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'],
                datasets: [{
                    label: '学习时间（分钟）',
                    data: [45, 60, 30, 90, 75, 120, 80],
                    backgroundColor: [
                        'rgba(22, 93, 255, 0.7)',
                        'rgba(22, 93, 255, 0.7)',
                        'rgba(22, 93, 255, 0.7)',
                        'rgba(22, 93, 255, 0.7)',
                        'rgba(22, 93, 255, 0.7)',
                        'rgba(22, 93, 255, 0.7)',
                        'rgba(22, 93, 255, 0.7)'
                    ],
                    borderColor: [
                        'rgba(22, 93, 255, 1)',
                        'rgba(22, 93, 255, 1)',
                        'rgba(22, 93, 255, 1)',
                        'rgba(22, 93, 255, 1)',
                        'rgba(22, 93, 255, 1)',
                        'rgba(22, 93, 255, 1)',
                        'rgba(22, 93, 255, 1)'
                    ],
                    borderWidth: 1
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                scales: {
                    y: {
                        beginAtZero: true
                    }
                }
            }
        });
        
        // 知识点掌握情况图表
        const knowledgePointsCtx = document.getElementById('knowledgePointsChart').getContext('2d');
        new Chart(knowledgePointsCtx, {
            type: 'doughnut',
            data: {
                labels: ['已掌握', '学习中', '未学习'],
                datasets: [{
                    data: [87, 23, 83],
                    backgroundColor: [
                        'rgba(0, 180, 42, 0.7)',
                        'rgba(22, 93, 255, 0.7)',
                        'rgba(209, 213, 219, 0.7)'
                    ],
                    borderColor: [
                        'rgba(0, 180, 42, 1)',
                        'rgba(22, 93, 255, 1)',
                        'rgba(209, 213, 219, 1)'
                    ],
                    borderWidth: 1
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                plugins: {
                    legend: {
                        position: 'bottom'
                    }
                }
            }
        });
        
        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });
        
        // 滚动时导航栏样式变化
        window.addEventListener('scroll', function() {
            const header = document.querySelector('header');
            if (window.scrollY > 10) {
                header.classList.add('shadow-md');
                header.classList.remove('shadow-sm');
            } else {
                header.classList.remove('shadow-md');
                header.classList.add('shadow-sm');
            }
        });
        
        // 渐入动画效果
        const fadeElements = document.querySelectorAll('.fade-in');
        
        const fadeInObserver = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    entry.target.style.opacity = '1';
                    entry.target.style.transform = 'translateY(0)';
                }
            });
        }, { threshold: 0.1 });
        
        fadeElements.forEach(element => {
            element.style.opacity = '0';
            element.style.transform = 'translateY(20px)';
            element.style.transition = 'opacity 0.6s ease-out, transform 0.6s ease-out';
            fadeInObserver.observe(element);
        });
    </script>
</body>
</html>
